﻿@model Developer.Entity.Users
@{
    Layout = "~/Areas/Admin/Views/Shared/_PopLayout.cshtml";
}
<style>
    .col-sm-10 p {
        line-height: 28px;
    }
</style>
<article class="page-container">
    <form class="form form-horizontal">
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-2">昵称：</label>
            <div class="formControls col-xs-9 col-sm-10">
                <p>@Model.NickName</p>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-2">账户：</label>
            <div class="formControls col-xs-9 col-sm-10">
                <p>@Model.Account</p>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-2">头像：</label>
            <div class="formControls col-xs-9 col-sm-10">
                @if ((bool)Model.IsUseWechat)
                {
                <img src="@Model.WeChats.First().HeadImg" style="border-radius: 100%;" class="img-responsive"/>
                }
                else
                {
                <img src="/Content/UI/images/head.jpg" style="border-radius: 100%;" class="img-responsive" />
                }
            </div>
        </div>
        
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-2">创建时间：</label>
            <div class="formControls col-xs-9 col-sm-10"><p>@Model.CreateTime</p>  </div>
        </div>
    </form>
</article>